package com.random;
/*
随机在1~100之间生成7个随机数,且每个数不相等
 */

import java.util.Random;
//import java.util.Scanner;

public class RandomDemo01 {
    public static void main(String[] args) {
        Random r=new Random();

        for (int i = 0; i < 7; i++) {
            int rnum = r.nextInt(100)+1;
            System.out.println(rnum);
        }


    }

}
